class Fold{

  final String id;
  final String name;

  Fold({required this.id, required this.name});

  Map<String, dynamic> toMap(){
    return {
      "id":id,
      "name":name
    };
  }

  factory Fold.fromMap(Map<String, dynamic> map){
      return Fold(id: map['id'], name: map['name']);
  }
}